package com.primaryedu.bean;

import java.util.List;

/**
 * Created by Thomas on 2018/2/23.
 */

public class QuestiondetailsBean {

    /**
     * result : 1
     * reason : 成功
     * data : {"id":"111111","remarks":"","createBy":"","createDate":"","updateDate":"","rowids":"","ids":[],"name":"小学生早恋调研","description":"小学生早恋调研","status":1,"questionDetailList":[{"id":"444444","surveyId":"111111","question":"地方法规和","optionList":[{"id":"44444","questionId":"444444","option":"非常赞同","selectNum":0,"sort":0},{"id":"55555","questionId":"444444","option":"赞同","selectNum":0,"sort":1},{"id":"66666","questionId":"444444","option":"中立","selectNum":0,"sort":2},{"id":"77777","questionId":"444444","option":"不赞同","selectNum":0,"sort":3}]},{"id":"333333","surveyId":"111111","question":"地方规范化","optionList":[{"id":"999999","questionId":"333333","option":"非常赞同","selectNum":0,"sort":0},{"id":"11111","questionId":"333333","option":"赞同","selectNum":0,"sort":1},{"id":"22222","questionId":"333333","option":"中立","selectNum":0,"sort":2},{"id":"33333","questionId":"333333","option":"不赞同","selectNum":0,"sort":3}]},{"id":"222222","surveyId":"111111","question":"的三个电饭锅","optionList":[{"id":"555555","questionId":"222222","option":"非常赞同","selectNum":0,"sort":0},{"id":"666666","questionId":"222222","option":"赞同","selectNum":0,"sort":1},{"id":"777777","questionId":"222222","option":"中立","selectNum":0,"sort":2},{"id":"888888","questionId":"222222","option":"不赞同","selectNum":0,"sort":3}]},{"id":"111111","surveyId":"111111","question":"多个地方个","optionList":[{"id":"333333","questionId":"111111","option":"非常赞同","selectNum":0,"sort":0},{"id":"111111","questionId":"111111","option":"赞同","selectNum":0,"sort":1},{"id":"444444","questionId":"111111","option":"中立","selectNum":0,"sort":2},{"id":"222222","questionId":"111111","option":"不赞同","selectNum":0,"sort":3}]}]}
     */

    private int result;
    private String reason;
    private DataBean data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 111111
         * remarks :
         * createBy :
         * createDate :
         * updateDate :
         * rowids :
         * ids : []
         * name : 小学生早恋调研
         * description : 小学生早恋调研
         * status : 1
         * questionDetailList : [{"id":"444444","surveyId":"111111","question":"地方法规和","optionList":[{"id":"44444","questionId":"444444","option":"非常赞同","selectNum":0,"sort":0},{"id":"55555","questionId":"444444","option":"赞同","selectNum":0,"sort":1},{"id":"66666","questionId":"444444","option":"中立","selectNum":0,"sort":2},{"id":"77777","questionId":"444444","option":"不赞同","selectNum":0,"sort":3}]},{"id":"333333","surveyId":"111111","question":"地方规范化","optionList":[{"id":"999999","questionId":"333333","option":"非常赞同","selectNum":0,"sort":0},{"id":"11111","questionId":"333333","option":"赞同","selectNum":0,"sort":1},{"id":"22222","questionId":"333333","option":"中立","selectNum":0,"sort":2},{"id":"33333","questionId":"333333","option":"不赞同","selectNum":0,"sort":3}]},{"id":"222222","surveyId":"111111","question":"的三个电饭锅","optionList":[{"id":"555555","questionId":"222222","option":"非常赞同","selectNum":0,"sort":0},{"id":"666666","questionId":"222222","option":"赞同","selectNum":0,"sort":1},{"id":"777777","questionId":"222222","option":"中立","selectNum":0,"sort":2},{"id":"888888","questionId":"222222","option":"不赞同","selectNum":0,"sort":3}]},{"id":"111111","surveyId":"111111","question":"多个地方个","optionList":[{"id":"333333","questionId":"111111","option":"非常赞同","selectNum":0,"sort":0},{"id":"111111","questionId":"111111","option":"赞同","selectNum":0,"sort":1},{"id":"444444","questionId":"111111","option":"中立","selectNum":0,"sort":2},{"id":"222222","questionId":"111111","option":"不赞同","selectNum":0,"sort":3}]}]
         */

        private String id;
        private String remarks;
        private String createBy;
        private String createDate;
        private String updateDate;
        private String rowids;
        private String name;
        private String description;

        private int status;
        private List<?> ids;
        private List<QuestionDetailListBean> questionDetailList;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getCreateBy() {
            return createBy;
        }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public String getRowids() {
            return rowids;
        }

        public void setRowids(String rowids) {
            this.rowids = rowids;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }


        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public List<?> getIds() {
            return ids;
        }

        public void setIds(List<?> ids) {
            this.ids = ids;
        }

        public List<QuestionDetailListBean> getQuestionDetailList() {
            return questionDetailList;
        }

        public void setQuestionDetailList(List<QuestionDetailListBean> questionDetailList) {
            this.questionDetailList = questionDetailList;
        }

        public static class QuestionDetailListBean {
            /**
             * id : 444444
             * surveyId : 111111
             * question : 地方法规和
             * optionList : [{"id":"44444","questionId":"444444","option":"非常赞同","selectNum":0,"sort":0},{"id":"55555","questionId":"444444","option":"赞同","selectNum":0,"sort":1},{"id":"66666","questionId":"444444","option":"中立","selectNum":0,"sort":2},{"id":"77777","questionId":"444444","option":"不赞同","selectNum":0,"sort":3}]
             */

            private String id;
            private String surveyId;
            private String question;
            private List<OptionListBean> optionList;
            private int opinions;
            //是否解答
            private int que_state;
            private String selectOptionId;

            public String getSelectOptionId() {
                return selectOptionId;
            }

            public void setSelectOptionId(String selectOptionId) {
                this.selectOptionId = selectOptionId;
            }

            public int getQue_state() {
                return que_state;
            }

            public void setQue_state(int que_state) {
                this.que_state = que_state;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getSurveyId() {
                return surveyId;
            }

            public void setSurveyId(String surveyId) {
                this.surveyId = surveyId;
            }

            public String getQuestion() {
                return question;
            }

            public void setQuestion(String question) {
                this.question = question;
            }

            public List<OptionListBean> getOptionList() {
                return optionList;
            }

            public void setOptionList(List<OptionListBean> optionList) {
                this.optionList = optionList;
            }

            public int getOpinions() {
                return opinions;
            }

            public void setOpinions(int opinions) {
                this.opinions = opinions;
            }

            public static class OptionListBean {
                /**
                 * id : 44444
                 * questionId : 444444
                 * option : 非常赞同
                 * selectNum : 0
                 * sort : 0
                 */

                private String id;
                private String questionId;
                private String option;
                private int selectNum;
                private int sort;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getQuestionId() {
                    return questionId;
                }

                public void setQuestionId(String questionId) {
                    this.questionId = questionId;
                }

                public String getOption() {
                    return option;
                }

                public void setOption(String option) {
                    this.option = option;
                }

                public int getSelectNum() {
                    return selectNum;
                }

                public void setSelectNum(int selectNum) {
                    this.selectNum = selectNum;
                }

                public int getSort() {
                    return sort;
                }

                public void setSort(int sort) {
                    this.sort = sort;
                }
            }
        }
    }
}
